The options available vary depending on the routing protocol context; that is, on whether you are configuring BGP, DVMRP, IS-IS, OSPF, or RIP.
For BGP:
redistribute { fromProtocol | [ ospf match
internal [ external [ 1 | 2 ] ] |
ospf match external
[ 1 | 2 ] [ internal ] ] } [ metric absoluteValue |
route-map mapTag | weight wtValue ]*
no redistribute { fromProtocol | [ ospf
match internal [ external [ 1 | 2 ] ] |
ospf match
external [ 1 | 2 ] [ internal ] ] } [ metric [ absoluteValue ] |
route-map [ mapTag ] | weight [ wtValue ] ]*
For DVMRP:
[ no ] redistribute fromProtocol [ route-map mapTag ]
For IS-IS:
redistribute { fromProtocol | static ip
|
[ ospf match internal [ external [ 1 | 2 ] ] |
ospf match external [ 1 | 2 ] [ internal ] ] } [ level-1
| level-1-2 | level-2 |
metric absoluteValue | metric-type { external | internal } |
route-map mapTag ]*
no redistribute { fromProtocol | static
ip |
[ ospf match internal [ external [ 1 | 2 ] ]
|
ospf match external [ 1 | 2 ] [ internal ] ] } [
level-1 | level-1-2 | level-2 |
metric [ absoluteValue ] | metric-type [ external | internal ]
| route-map [ mapTag ] ]*
For OSPFv2:
redistribute { fromProtocol | ospf match
internal }
[ metric-type { 1 | 2 } | metric absoluteValue | route-map mapTag | tag tagValue ]*
no redistribute { fromProtocol | ospf match
internal }
[ metric-type [ 1 | 2 ] | metric [ absoluteValue ] | route-map [ mapTag ] |
tag [ tagValue ] ]*
redistribute ospf
{ match internal external
[ 1 | 2 ] | match external [ 1 | 2 ] [ internal ] }
[ metric absoluteValue | route-map mapTag | tag tagValue ]*
no redistribute ospf
{ match internal external
[ 1 | 2 ] | match external [ 1 | 2 ] [ internal ] }
[ metric [ absoluteValue ] | route-map [ mapTag ] | tag [ tagValue ] ]*
For OSPFv3:
redistribute { fromProtocol | ospf match
internal } | metric-type { 1 | 2 }
[ metric absoluteValue | tag tagValue | route-map mapTag ]*
no redistribute { fromProtocol | ospf match
internal } | metric-type [ 1 | 2 ]
[ metric [ absoluteValue ] | tag [ tagValue ]
| route-map [ mapTag ] ]*
[ no ] redistribute ospf
{ match internal external
[ 1 | 2 ] | match external [ 1 | 2 ] [ internal ] }
[ metric [ absoluteValue ] | route-map [ mapTag ] | tag [ tagValue ] ]*
For RIP:
redistribute { fromProtocol | ospf match
internal [ external [ 1 | 2 ] ] |
ospf match external
[ 1 | 2 ] [ internal ] } [ metric absoluteValue |
route-map mapTag ]*
no redistribute { fromProtocol | ospf match
internal } [ external [ 1 | 2 ] ] |
ospf match external
[ 1 | 2 ] [ internal ] } [ metric [ absoluteValue ] |
route-map [ mapTag ] ]*
Command introduced before JUNOSe Release 7.1.0.
Redistributes routes from one routing domain into another routing domain. For DVMRP, only routes that appear in the RPF table can be redistributed. The no version ends redistribution of information.
For routes redistributed into IS-IS:
For routes redistributed into OSPF:
Address Family Configuration, Router Configuration